package cn.buk.api.ctrip.dto.share;

import javax.xml.bind.annotation.*;
import java.util.Date;

/**
 * Created by yfdai on 16/1/11.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name="Head")
public class OpenApiResponseHead {

    @XmlElement(name = "ResultCode")
    private String resultCode;

    @XmlElement(name = "TotalNum")
    private int totalNum;

    @XmlElement(name = "SuccessNum")
    private int successNum;

    @XmlElement(name = "Failure")
    private int failure;

    @XmlElement(name = "Warn")
    private int warn;

    @XmlElement(name = "ResponseTimes")
    private String responseTimes;

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getSuccessNum() {
        return successNum;
    }

    public void setSuccessNum(int successNum) {
        this.successNum = successNum;
    }

    public int getFailure() {
        return failure;
    }

    public void setFailure(int failure) {
        this.failure = failure;
    }

    public String getResponseTimes() {
        return responseTimes;
    }

    public void setResponseTimes(String responseTimes) {
        this.responseTimes = responseTimes;
    }

    public int getWarn() {
        return warn;
    }

    public void setWarn(int warn) {
        this.warn = warn;
    }

//    <ResultCode>Success</ResultCode>
//    <TotalNum>3</TotalNum>
//    <SuccessNum>2</SuccessNum>
//    <Failure>1</Failure>
//    <ResponseTimes>2014/11/28 15:08:39</ResponseTimes>
}
